using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;
namespace MyDHServer.Compontents
{
    public class MyDHPages:Page
    {
        public MyDHPages()
        {

        }

        protected override void OnPreInit(EventArgs e)
        {
            this.Theme = GetThemes();
            this.MasterPageFile = GetMasterPage();
            base.OnPreInit(e);
        }

        protected virtual string GetThemes()
        {
            return "default";
        }

        protected virtual string GetMasterPage()
        {
            return "~/Skin/Default/Master/master.Master";
        }



    }
}
